package core.game;

import core.gui.GlassPane;
import core.input.InputReceiver;

import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;

public abstract class BasicGame extends Game implements InputReceiver {
	
	GlassPane glassPane;
	
	public BasicGame(String name){
		super(name);
		inputManager.addInputReceiver(this);
		//Initialize GlassPane
		glassPane = new GlassPane(input);
		inputManager.addInputReceiver(glassPane);
	}
	
	public GlassPane getGlassPane(){
		return glassPane;
	}
	
	public void keyPressed(KeyEvent e) {
		// TODO Auto-generated method stub
		
	}

	public void keyReleased(KeyEvent e) {
		// TODO Auto-generated method stub
		
	}

	public void keyTyped(KeyEvent e) {
		// TODO Auto-generated method stub
		
	}

	public void mouseClicked(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	public void mouseDragged(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	public void mouseEntered(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	public void mouseExited(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	public void mouseMoved(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	public void mousePressed(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	public void mouseReleased(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

}
